/*
 * @Author: mengqingchen mengqingchen@huaru.cc
 * @Date: 2022-11-09 13:42:40
 * @LastEditors: mengqingchen mengqc1995@163.com
 * @LastEditTime: 2023-03-10 14:22:05
 * @FilePath: \vite-vue3-ts\src\utils\index.ts
 * @Description:
 */

/**
 * 获取本地图
 * @param name // 文件名 如 doc.png
 * @returns {*|string}
 */

export function getAssetsImages(name: string) {
  return new URL(`/src/assets/images/${name}`, import.meta.url).href
}
